/**
 * 
 */
package com.ping.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 浩子
 *
 */
@Controller
public class UserController {

	 								// GetMapping是@RequestMapping(method =
	@GetMapping("/userInfo")		// RequestMethod.GET)的组合
	public String userInfo() {
		return "userInfo";
	}

	@GetMapping("/addUser")
	public String addUser() {
		return "userInfoAdd";
	}
	
	
}
